<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <script src='js/sha1.js' type="text/javascript"></script>
    <script src='js/jquery.min.js' type="text/javascript"></script>
    <script src='js/jquery.simplemodal.js' type="text/javascript"></script>
    <script src='js/wterm.jquery.js' type="text/javascript"></script>
    <script src='js/amud.js' type="text/javascript"></script>
    <script src='js/items.js' type="text/javascript"></script>
    <script src='js/msg.js' type="text/javascript"></script>
    <script src='js/room.js' type="text/javascript"></script>
    <script src='js/char.js' type="text/javascript"></script>
    <link rel="stylesheet" href="css/wterm.css" type="text/css" />
    <link rel="stylesheet" href="css/modal.css" type="text/css" />
    <link rel="stylesheet" href="css/amud_term.css" type="text/css" />
    <link rel="stylesheet" href="css/amud_items.css" type="text/css" />
    <link rel="shortcut icon" href="img/favicon.ico" type="image/x-icon" />
    <script type="text/javascript">
      	$( document ).ready( function() {
        	$('#wterm').wterm( { DEFAULT_THEME:'_black_on_white',
        					 WIDTH: '80%',
        					 HEIGHT: '85%',
        					 WELCOME_MESSAGE: 'Welcome! To see the available commands type <strong>help</strong>',
        					 AJAX_METHOD: 'POST', 
        					 AJAX_PARAM: 'command' });
	      	$.amud.core.register();
        	if (navigator.appName == "Microsoft Internet Explorer") {
				document.onfocusout = $.amud.core.autoRefreshOff;
				document.onfocusin  = $.amud.core.autoRefreshOn;
		  	}else{
		  		window.onblur = $.amud.core.autoRefreshOff;
		  		window.onfocus = $.amud.core.autoRefreshOn;
		  	}
		  	$.amud.core.autoRefreshOn();
      	});
	</script>
    <title> AMUD v0.316 </title>
  </head>
  <body>
      <div id="mainMenu">
          <a href="mailto:contato@amud.net">Contact</a> - <a href="http://code.google.com/p/amud/wiki/Commands">Help</a> - <a href="#logo" onClick="$.amud.core.signup()">New Account</a>
      </div>
      <div id="logo"></div>
      <div id='wterm'></div>
  </body>
</html>